import Vue from 'vue';
import Router from 'vue-router';
import index from '../page/index';
import product_Z5 from '../page/product/dir1/product_Z5';
import product_Z10 from '../page/product/dir1/product_Z10';
import product_L1 from '../page/product/dir1/product_L1';
import product_Z1 from '../page/product/dir1/product_Z1';

import product_xnz from '../page/product/dir2/product_xnz';
import product_lhz from '../page/product/dir2/product_lhz';

import product_p1 from '../page/product/dir3/product_p1';
import product_rwy from '../page/product/dir3/product_rwy';
import product_r1 from '../page/product/dir3/product_r1';
import product_s1 from '../page/product/dir3/product_s1';

import product_h1 from '../page/product/dir4/product_h1';
import product_h2 from '../page/product/dir4/product_h2';
import product_h3 from '../page/product/dir4/product_h3';
import product_h4 from '../page/product/dir4/product_h4';
import product_h5 from '../page/product/dir4/product_h5';
import product_h6 from '../page/product/dir4/product_h6';

import introduction from '../page/product/introduction';
import productList from '../page/product/prductList';
import newsDetails from '../page/news/newsdetails';
import aboutUs from '../page/aboutUs/aboutus';
import support from '../page/aboutUs/support';

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: '首页',
      component: index
    },
    {
      path: '/product_Z5',
      name: 'Z5',
      component: product_Z5
    },
    {
      path: '/product_Z10',
      name: 'Z10',
      component: product_Z10
    },
    {
      path: '/product_L1',
      name: 'L1',
      component: product_L1
    },
    {
      path: '/product_Z1',
      name: 'Z1',
      component: product_Z1
    },
    {
      path: '/product_rwy',
      name: 'RWY',
      component: product_rwy
    },
    {
      path: '/product_p1',
      name: 'P1',
      component: product_p1
    },
    {
      path: '/product_r1',
      name: 'R1',
      component: product_r1
    },
    {
      path: '/product_s1',
      name: 'S1',
      component: product_s1
    },
    {
      path: '/product_xnz',
      name: 'XNZ',
      component: product_xnz
    },
    {
      path: '/product_lhz',
      name: 'LHZ',
      component: product_lhz
    },
    {
      path: '/introduction',
      name: '产品介绍',
      component: introduction
    },
    {
      path: '/productList',
      name: '产品列表',
      component: productList
    },
    {
      path: '/newsDetails',
      name: '新闻详情',
      component: newsDetails
    },
    {
      path: '/product_h1',
      name: 'H1',
      component: product_h1
    },
    {
      path: '/product_h2',
      name: 'H2',
      component: product_h2
    },
    {
      path: '/product_h3',
      name: 'H3',
      component: product_h3
    },
    {
      path: '/product_h4',
      name: 'H4',
      component: product_h4
    },
    {
      path: '/product_h5',
      name: 'H5',
      component: product_h5
    },
    {
      path: '/product_h6',
      name: 'H6',
      component: product_h6
    },
    {
      path: '/aboutUs',
      name: '关于我们',
      component: aboutUs
    },
    {
      path: '/support',
      name: '服务支持',
      component: support
    }
  ]
})
